replace vault to local#719
Conversation
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
mukundansundar
left a comment
There was a problem hiding this comment.
@dntbeSris One change ... The vault install is removed from the validate.yaml file.
Because it was removed from build.yaml it is breaking the build.
| run: | | ||
| docker-compose -f ./sdk-tests/deploy/local-test-kafka.yml up -d | ||
| docker ps | ||
| - name: Install Local Hashicorp Vault using docker-compose |
There was a problem hiding this comment.
have the vault install in the build.yaml and remove it from the validate.yaml file ....
There was a problem hiding this comment.
ok, and the Integration Test is vault secret. should i fix it ?
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com>
5c3aaf1 to
0dc3c18
Compare
There was a problem hiding this comment.
in the integration tests why have the secrets file be created on the file. I think the test local secrets file can be committed as a file in the components directory itself ...
This is currently causing an issue with other tests also since the component in being loaded in other tests also and it is not finding the secrets file which is only created on the fly for this test ... so dapr initialising is failing because the component is not being loaded ...
Changing it to a file that exists in the components directory from start is fine for integration tests ...
|
yep! i create and delete the secret file just in secret test program at first.but it made the other tests failed . because it always load all components . so i created the file earlier. this change in commit 9f21553 |
what should i do next ? |
Codecov Report
@@ Coverage Diff @@
## master #719 +/- ##
=========================================
Coverage 78.19% 78.19%
Complexity 1117 1117
=========================================
Files 97 97
Lines 3417 3417
Branches 399 399
=========================================
Hits 2672 2672
Misses 547 547
Partials 198 198 Continue to review full report at Codecov.
|
mukundansundar
left a comment
There was a problem hiding this comment.
lgtm. @artursouza Please review.
* replace vault to local Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * change secret store name style Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * delete vault token file Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * remove vault int validate.yml Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it secret case Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * replace vault to local Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * change secret store name style Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * delete vault token file Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * remove vault int validate.yml Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it secret case Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it dead loop Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> Co-authored-by: zjx244729 <zjx244729@alibaba-inc.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Signed-off-by: Artur Souza <artursouza.ms@outlook.com>
* replace vault to local Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * change secret store name style Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * delete vault token file Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * remove vault int validate.yml Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it secret case Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * replace vault to local Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * change secret store name style Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * delete vault token file Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * remove vault int validate.yml Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it secret case Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> * fix it dead loop Signed-off-by: zjx244729 <zjx244729@alibaba-inc.com> Co-authored-by: zjx244729 <zjx244729@alibaba-inc.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Signed-off-by: naah69 <nayan3480232@163.com>
Signed-off-by: zjx244729 zjx244729@alibaba-inc.com
Description
Replace the Secret Store from Hashicorp Vault to Local File
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #667
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: